xen/arm: do not pass dt_host to make_memory_node and make_hypervisor_node
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 31 Jul 2018 23:27:48 +0000 (16:27 -0700)
committerJulien Grall <julien.grall@arm.com>
Wed, 22 Aug 2018 15:17:16 +0000 (16:17 +0100)
commitb8350d38e7e1287e7b21cb2db5dadddd8e7b80b5
tree6f8ce71775618575517d2d73b032e741b0d489a1
parent4a4ed43bb63f075fbcc7645297304fc42d4ae638
xen/arm: do not pass dt_host to make_memory_node and make_hypervisor_node

In order to make make_memory_node and make_hypervisor_node more
reusable, do not pass them dt_host. As they only use it to calculate
addrcells and sizecells, pass addrcells and sizecells directly.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain_build.c
xen/common/device_tree.c
xen/include/xen/device_tree.h